package com.swt.gap.model.vo;

import com.swt.gap.model.entity.SysGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @author tyh
 * @date 2020/4/16 17:34
 */

@Data
@ToString
public class UserInfoVO {

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    /*@ApiModelProperty(value = "密码")
    private String password;*/

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "部门id")
    private Integer departmentId;

    @ApiModelProperty(value = "是否启用")
    private Boolean activated;


    @ApiModelProperty(value = "所在分组")
    private List<SysGroup> groups;

    @ApiModelProperty(value = "是否有管理权限")
    private Boolean hasAdminPermission;
}
